package com.indusfo.spc.client.service;

import java.util.List;

import com.indusfo.spc.client.pojo.ClientBatchFinish;

/**
 * 客户端批次报工
 * 
 * @author zhengd
 *
 */
public interface ClientBatchFinishService {
	/**
	 * 客户端批次报工新增
	 * 
	 * @param ClientBatchFinish
	 * @return
	 */
	String saveClientBatchFinish(ClientBatchFinish clientBatchFinish);

	/**
	 * 客户端批次报工根据批号查询基本信息
	 * 
	 * @param batchCode
	 * @return ClientBatchFinish
	 */
	ClientBatchFinish queryClientBatchFinishByBatchCode(String batchCode);

	/**
	 * 根据任务单ID查询已报工数量
	 * 
	 * @param orderId
	 * @return
	 */
	ClientBatchFinish queryClientFinishNumByOrderId(Integer orderId);

	/**
	 * 客户端批次报工查询当天报工信息
	 * 
	 * @param
	 * @return ClientBatchFinish
	 */
	List<ClientBatchFinish> queryClientBatchFinishByCreateDate();
}
